export name="demo"
kubectl get namespace ${name} -o json | jq '.spec.finalizers = []' | kubectl replace --raw "/api/v1/namespaces/${name}/finalize" -f -

cilium-secrets

export name="cilium-secrets"
kubectl get namespace ${name} -o json | jq '.spec.finalizers = []' | kubectl replace --raw "/api/v1/namespaces/${name}/finalize" -f -
